import { createPinia } from 'pinia'
// 持久化
import persist from 'pinia-plugin-persistedstate'
// 单独提取出来的模块
export * from './modules/user'
export * from './modules/cart'
const pinia = createPinia()
pinia.use(persist)
export default pinia